{extend name="default/layout" /}

{block name="title"}{$title}{/block}

{block name="content"}
<div class="bg-gray-100 py-8">
    <div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
        <!-- 页面标题 -->
        <div class="text-center mb-8">
            <h1 class="text-3xl font-bold text-gray-800 mb-4">{$title}</h1>
            <p class="text-gray-500">请仔细阅读以下条款</p>
        </div>

        <!-- 协议内容 -->
        <div class="bg-white rounded-sm  p-8">
            <div class="prose max-w-none text-gray-500">
                {$content|raw}
            </div>
        </div>
    </div>
</div>
{/block}

{block name="css"}
<style>
/* 协议内容样式 */
.prose {
    line-height: 1.8;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color-primary);
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color-primary);
}

.prose p {
    margin-bottom: 1rem;
    text-align: justify;
}

.prose ul, .prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose strong {
    font-weight: 600;
    color: var(--text-color-primary);
}

.prose a {
    color: #3b82f6;
    text-decoration: underline;
}

.prose a:hover {
    color: #2563eb;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .prose h2 {
        font-size: 1.25rem;
    }
    
    .prose h3 {
        font-size: 1.125rem;
    }
}
</style>
{/block}
